#!/bin/bash

cp ./pixmaps/gxplanet.png /usr/share/pixmaps/
cp ./Support/gxplanet.desktop /usr/share/applications/
mkdir -p /opt/Gxplanet/
mkdir -p /opt/Gxplanet/lib
mkdir -p /opt/Gxplanet/gui
cp ./*.py /opt/Gxplanet
cp ./lib/*.py /opt/Gxplanet/lib
cp ./gui/gxplanet.glade /opt/Gxplanet/gui
chmod -R +r /opt/Gxplanet/*
ln -sf /opt/Gxplanet/gxplanet.py /usr/bin/gxplanet
